package net.hn.hnms.biz.safety.location.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;

/**
 * 智呈物联 pan'sx
 * 2023/2/27 10:11
 * 1.0 version
 */
@Data
@ApiModel("车辆实时细信息")
@Entity
@Table(name = "dwd_jxry_now_car_information", schema = "jxry", catalog = "huaneng-safety")
public class DwdJxryNowCarInformationEntity {
    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "name")
    private String name;
    @Column(name = "azimuth_angle")
    private String azimuthAngle;
    @Column(name = "flag")
    private String flag;
    @Column(name = "prelocation_x")
    private String prelocationX;
    @Column(name = "prelocation_y")
    private String prelocationY;
    @Column(name = "prelocation_z")
    private String prelocationZ;
    @Column(name = "location_x")
    private String locationX;
    @Column(name = "location_y")
    private String locationY;
    @Column(name = "location_z")
    private String locationZ;
    @Column(name = "cardid")
    private String cardid;
    @Column(name = "deptname")
    private String deptname;
    @Column(name = "position_desc")
    private String positionDesc;
    @Column(name = "rid")
    private String rid;
    @Column(name = "stationid")
    private String stationid;
    @Column(name = "distance")
    private String distance;
    @Column(name = "statu")
    private String statu;
    @Column(name = "time_cur")
    private String timeCur;
    @Column(name = "name_card_dept")
    private String nameCardDept;
    @Column(name = "in_time")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm",
            timezone = "Asia/Shanghai"
    )
    private String inTime;
    @Column(name = "create_time")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm",
            timezone = "Asia/Shanghai"
    )
    private Timestamp createTime;
    @Column(name = "mine_code")
    private String mineCode;


}
